package com.niguang.work.api.mapper;

import com.niguang.work.api.entity.WechatUser;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 'work.v_personSite' is not BASE TABLE Mapper 接口
 * </p>
 *
 * @author chenliu
 * @since 2018-07-23
 */
public interface WechatUserMapper extends BaseMapper<WechatUser> {

    List<Map<String, Object>> getSiteList(@Param("unionId") String unionId,@Param("keyText") String keyText);


    WechatUser checkUser(@Param("unionId") String unionId);


}
